package com.example.wlzz.repository.mapper;

import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.annotations.Select;

public interface UserInfoMapper {
    @Select("select roll_number from user_info u where u.user_id = (select user_id from user_ where phone = #{phone})")
    String getRollNumber(@Param("phone") String phone);
}
